package assg.funnycells.common;

public class Chemical {
    String chemStr;
    long creationTime;
    long lifetime;
    int x, y;
    String color;

    public Chemical(String chemStr, long creationTime, int x, int y, String color) {
	this.chemStr = chemStr;
	this.creationTime = creationTime;
	this.x = x;
	this.y = y;
	this.color = color;
    }
    
    public String chemStr() {
	return chemStr;
    }

    public long creationTime() {
	return creationTime;
    }

    public int getX() {
	return x;
    }

    public int getY() {
	return y;
    }

    public String color() {
	return color;
    }

    public void setLifetime(long lifetime) {
	this.lifetime = lifetime;
    }

    public long getLifetime() {
	return lifetime;
    }

}